package qianfeng.com.meijiadaka.bean.detail;

import java.util.List;

/**
 * Created by Think on 2017/2/11.
 *
 * 商品详情： 相关产品，图文详情。。。
 */

public class CommodityBean {

    /**
     * code : 0
     * result : {"commodityId":816,"commodityName":"施华洛世奇   月光色 平底钻","maxPrice":700,"minPrice":700,"maxDiscount":700,"minDiscount":700,"commodityIcon":"http://pic.yilos.com/images/000/000/009/201607/577b2c7c62c9d.jpg","isSpecial":0,"videoThumb":"http://pic.yilos.com/1059255854ef0771c44e1db6836dd4c6","videoUrl":"http://v.yilos.com/0ccf18df56ae349819a1cb1dc6f2722a.mp4","descPictures":"<p><img src=\"http://pic.yilos.com/images/000/000/009/201607/577b2c92c3440.jpg\" /><img src=\"http://pic.yilos.com/images/000/000/009/201607/577b2c92cc658.jpg\" /><img src=\"http://pic.yilos.com/images/000/000/009/201607/577b2c97a07f2.jpg\" /><img src=\"http://pic.yilos.com/images/000/000/009/201607/577b2c9622627.jpg\" /><img src=\"http://pic.yilos.com/images/000/000/009/201607/577b2c982a15c.jpg\" /><img src=\"http://pic.yilos.com/images/000/000/009/201607/577b2c988268f.jpg\" /><img src=\"http://pic.yilos.com/images/000/000/009/201607/577b2c9ca8ac8.jpg\" /><img src=\"http://pic.yilos.com/images/000/000/009/201607/577b2c9d17db3.jpg\" /><\/p>","saleCount":149,"collectStatus":0,"couponStatus":1,"deliveryStatus":0,"lastComment":{"commentId":1311,"content":"好","score":"GOOD","commentTime":"2017.01.19 11:13:44","nickname":"邹倩","avatar":"http://wx.qlogo.cn/mmopen/FMajU52WvbH7NwNIY43WXtJGg0VKAicRavHhKmtVlxyXOGicwuGPHv5ULhawNeRT4cTPPibWtOCkknMiatVYfOZX1Q/0","accountId":"dd072600-92e8-11e6-bd72-c70dac39e0dd"},"commentNum":22,"commodityAttr":[{"priceId":6711,"attrDesc":"[{\"attrKey\":\"型号\",\"attrValue\":\"20#/10颗  6*6mm\"}]","commodityPrice":700,"discount":700,"attrValueList":[{"attrKey":"型号","attrValue":"20#/10颗  6*6mm"}]}],"flagship":{"flagshipId":49,"flagshipName":"北京芷妍美绘","flagshipIcon":"http://pic.yilos.com/bd3d69e1c10c0529910f5e1e2e6f80b7","province":null,"city":null,"district":null,"detailAddress":"北京市东城区珠市口东大街天鼎批发市场南外一号","phoneNumber":"18611432118","qq":"2172436227","wechat":"dawei7290","hxQueueName":"美甲大咖商城客服","hxQueueIm":"naildaka_customerservice","serKey":"KEFU147166036436461","serAccount":""},"relatedList":[{"commodityId":811,"commodityName":"施华洛世奇 子午蓝 平底钻","commodityIcon":"http://pic.yilos.com/images/000/000/009/201607/577b4af9ae2e0.jpg","maxDiscount":1000,"minDiscount":700},{"commodityId":813,"commodityName":"施华洛世奇  金属银 平底钻","commodityIcon":"http://pic.yilos.com/images/000/000/009/201607/577b2f202739e.jpg","maxDiscount":1000,"minDiscount":700},{"commodityId":784,"commodityName":"施华洛世奇  水晶之光 平底钻","commodityIcon":"http://pic.yilos.com/images/000/000/009/201607/577b2d909b28b.jpg","maxDiscount":1000,"minDiscount":700},{"commodityId":785,"commodityName":"施华洛世奇  夜色绿水 平底钻","commodityIcon":"http://pic.yilos.com/images/000/000/009/201607/577b47aa93d9c.jpg","maxDiscount":1000,"minDiscount":700},{"commodityId":786,"commodityName":"施华洛世奇  浅蓝幻彩 平底钻","commodityIcon":"http://pic.yilos.com/images/000/000/009/201607/577b4a71a2676.jpg","maxDiscount":1000,"minDiscount":700}]}
     */

    private int code;
    private ResultBean result;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * commodityId : 816
         * commodityName : 施华洛世奇   月光色 平底钻
         * maxPrice : 700
         * minPrice : 700
         * maxDiscount : 700
         * minDiscount : 700
         * commodityIcon : http://pic.yilos.com/images/000/000/009/201607/577b2c7c62c9d.jpg
         * isSpecial : 0
         * videoThumb : http://pic.yilos.com/1059255854ef0771c44e1db6836dd4c6
         * videoUrl : http://v.yilos.com/0ccf18df56ae349819a1cb1dc6f2722a.mp4
         * descPictures : <p><img src="http://pic.yilos.com/images/000/000/009/201607/577b2c92c3440.jpg" /><img src="http://pic.yilos.com/images/000/000/009/201607/577b2c92cc658.jpg" /><img src="http://pic.yilos.com/images/000/000/009/201607/577b2c97a07f2.jpg" /><img src="http://pic.yilos.com/images/000/000/009/201607/577b2c9622627.jpg" /><img src="http://pic.yilos.com/images/000/000/009/201607/577b2c982a15c.jpg" /><img src="http://pic.yilos.com/images/000/000/009/201607/577b2c988268f.jpg" /><img src="http://pic.yilos.com/images/000/000/009/201607/577b2c9ca8ac8.jpg" /><img src="http://pic.yilos.com/images/000/000/009/201607/577b2c9d17db3.jpg" /></p>
         * saleCount : 149
         * collectStatus : 0
         * couponStatus : 1
         * deliveryStatus : 0
         * lastComment : {"commentId":1311,"content":"好","score":"GOOD","commentTime":"2017.01.19 11:13:44","nickname":"邹倩","avatar":"http://wx.qlogo.cn/mmopen/FMajU52WvbH7NwNIY43WXtJGg0VKAicRavHhKmtVlxyXOGicwuGPHv5ULhawNeRT4cTPPibWtOCkknMiatVYfOZX1Q/0","accountId":"dd072600-92e8-11e6-bd72-c70dac39e0dd"}
         * commentNum : 22
         * commodityAttr : [{"priceId":6711,"attrDesc":"[{\"attrKey\":\"型号\",\"attrValue\":\"20#/10颗  6*6mm\"}]","commodityPrice":700,"discount":700,"attrValueList":[{"attrKey":"型号","attrValue":"20#/10颗  6*6mm"}]}]
         * flagship : {"flagshipId":49,"flagshipName":"北京芷妍美绘","flagshipIcon":"http://pic.yilos.com/bd3d69e1c10c0529910f5e1e2e6f80b7","province":null,"city":null,"district":null,"detailAddress":"北京市东城区珠市口东大街天鼎批发市场南外一号","phoneNumber":"18611432118","qq":"2172436227","wechat":"dawei7290","hxQueueName":"美甲大咖商城客服","hxQueueIm":"naildaka_customerservice","serKey":"KEFU147166036436461","serAccount":""}
         * relatedList : [{"commodityId":811,"commodityName":"施华洛世奇 子午蓝 平底钻","commodityIcon":"http://pic.yilos.com/images/000/000/009/201607/577b4af9ae2e0.jpg","maxDiscount":1000,"minDiscount":700},{"commodityId":813,"commodityName":"施华洛世奇  金属银 平底钻","commodityIcon":"http://pic.yilos.com/images/000/000/009/201607/577b2f202739e.jpg","maxDiscount":1000,"minDiscount":700},{"commodityId":784,"commodityName":"施华洛世奇  水晶之光 平底钻","commodityIcon":"http://pic.yilos.com/images/000/000/009/201607/577b2d909b28b.jpg","maxDiscount":1000,"minDiscount":700},{"commodityId":785,"commodityName":"施华洛世奇  夜色绿水 平底钻","commodityIcon":"http://pic.yilos.com/images/000/000/009/201607/577b47aa93d9c.jpg","maxDiscount":1000,"minDiscount":700},{"commodityId":786,"commodityName":"施华洛世奇  浅蓝幻彩 平底钻","commodityIcon":"http://pic.yilos.com/images/000/000/009/201607/577b4a71a2676.jpg","maxDiscount":1000,"minDiscount":700}]
         */

        private int commodityId;
        private String commodityName;
        private int maxPrice;
        private int minPrice;
        private int maxDiscount;
        private int minDiscount;
        private String commodityIcon;
        private int isSpecial;
        private String videoThumb;
        private String videoUrl;
        private String descPictures;
        private int saleCount;
        private int collectStatus;
        private int couponStatus;
        private int deliveryStatus;
        private LastCommentBean lastComment;
        private int commentNum;
        private FlagshipBean flagship;
        private List<CommodityAttrBean> commodityAttr;
        private List<RelatedListBean> relatedList;

        public int getCommodityId() {
            return commodityId;
        }

        public void setCommodityId(int commodityId) {
            this.commodityId = commodityId;
        }

        public String getCommodityName() {
            return commodityName;
        }

        public void setCommodityName(String commodityName) {
            this.commodityName = commodityName;
        }

        public int getMaxPrice() {
            return maxPrice;
        }

        public void setMaxPrice(int maxPrice) {
            this.maxPrice = maxPrice;
        }

        public int getMinPrice() {
            return minPrice;
        }

        public void setMinPrice(int minPrice) {
            this.minPrice = minPrice;
        }

        public int getMaxDiscount() {
            return maxDiscount;
        }

        public void setMaxDiscount(int maxDiscount) {
            this.maxDiscount = maxDiscount;
        }

        public int getMinDiscount() {
            return minDiscount;
        }

        public void setMinDiscount(int minDiscount) {
            this.minDiscount = minDiscount;
        }

        public String getCommodityIcon() {
            return commodityIcon;
        }

        public void setCommodityIcon(String commodityIcon) {
            this.commodityIcon = commodityIcon;
        }

        public int getIsSpecial() {
            return isSpecial;
        }

        public void setIsSpecial(int isSpecial) {
            this.isSpecial = isSpecial;
        }

        public String getVideoThumb() {
            return videoThumb;
        }

        public void setVideoThumb(String videoThumb) {
            this.videoThumb = videoThumb;
        }

        public String getVideoUrl() {
            return videoUrl;
        }

        public void setVideoUrl(String videoUrl) {
            this.videoUrl = videoUrl;
        }

        public String getDescPictures() {
            return descPictures;
        }

        public void setDescPictures(String descPictures) {
            this.descPictures = descPictures;
        }

        public int getSaleCount() {
            return saleCount;
        }

        public void setSaleCount(int saleCount) {
            this.saleCount = saleCount;
        }

        public int getCollectStatus() {
            return collectStatus;
        }

        public void setCollectStatus(int collectStatus) {
            this.collectStatus = collectStatus;
        }

        public int getCouponStatus() {
            return couponStatus;
        }

        public void setCouponStatus(int couponStatus) {
            this.couponStatus = couponStatus;
        }

        public int getDeliveryStatus() {
            return deliveryStatus;
        }

        public void setDeliveryStatus(int deliveryStatus) {
            this.deliveryStatus = deliveryStatus;
        }

        public LastCommentBean getLastComment() {
            return lastComment;
        }

        public void setLastComment(LastCommentBean lastComment) {
            this.lastComment = lastComment;
        }

        public int getCommentNum() {
            return commentNum;
        }

        public void setCommentNum(int commentNum) {
            this.commentNum = commentNum;
        }

        public FlagshipBean getFlagship() {
            return flagship;
        }

        public void setFlagship(FlagshipBean flagship) {
            this.flagship = flagship;
        }

        public List<CommodityAttrBean> getCommodityAttr() {
            return commodityAttr;
        }

        public void setCommodityAttr(List<CommodityAttrBean> commodityAttr) {
            this.commodityAttr = commodityAttr;
        }

        public List<RelatedListBean> getRelatedList() {
            return relatedList;
        }

        public void setRelatedList(List<RelatedListBean> relatedList) {
            this.relatedList = relatedList;
        }

        public static class LastCommentBean {
            /**
             * commentId : 1311
             * content : 好
             * score : GOOD
             * commentTime : 2017.01.19 11:13:44
             * nickname : 邹倩
             * avatar : http://wx.qlogo.cn/mmopen/FMajU52WvbH7NwNIY43WXtJGg0VKAicRavHhKmtVlxyXOGicwuGPHv5ULhawNeRT4cTPPibWtOCkknMiatVYfOZX1Q/0
             * accountId : dd072600-92e8-11e6-bd72-c70dac39e0dd
             */

            private int commentId;
            private String content;
            private String score;
            private String commentTime;
            private String nickname;
            private String avatar;
            private String accountId;

            public int getCommentId() {
                return commentId;
            }

            public void setCommentId(int commentId) {
                this.commentId = commentId;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getScore() {
                return score;
            }

            public void setScore(String score) {
                this.score = score;
            }

            public String getCommentTime() {
                return commentTime;
            }

            public void setCommentTime(String commentTime) {
                this.commentTime = commentTime;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public String getAccountId() {
                return accountId;
            }

            public void setAccountId(String accountId) {
                this.accountId = accountId;
            }
        }

        public static class FlagshipBean {
            /**
             * flagshipId : 49
             * flagshipName : 北京芷妍美绘
             * flagshipIcon : http://pic.yilos.com/bd3d69e1c10c0529910f5e1e2e6f80b7
             * province : null
             * city : null
             * district : null
             * detailAddress : 北京市东城区珠市口东大街天鼎批发市场南外一号
             * phoneNumber : 18611432118
             * qq : 2172436227
             * wechat : dawei7290
             * hxQueueName : 美甲大咖商城客服
             * hxQueueIm : naildaka_customerservice
             * serKey : KEFU147166036436461
             * serAccount :
             */

            private int flagshipId;
            private String flagshipName;
            private String flagshipIcon;
            private Object province;
            private Object city;
            private Object district;
            private String detailAddress;
            private String phoneNumber;
            private String qq;
            private String wechat;
            private String hxQueueName;
            private String hxQueueIm;
            private String serKey;
            private String serAccount;

            public int getFlagshipId() {
                return flagshipId;
            }

            public void setFlagshipId(int flagshipId) {
                this.flagshipId = flagshipId;
            }

            public String getFlagshipName() {
                return flagshipName;
            }

            public void setFlagshipName(String flagshipName) {
                this.flagshipName = flagshipName;
            }

            public String getFlagshipIcon() {
                return flagshipIcon;
            }

            public void setFlagshipIcon(String flagshipIcon) {
                this.flagshipIcon = flagshipIcon;
            }

            public Object getProvince() {
                return province;
            }

            public void setProvince(Object province) {
                this.province = province;
            }

            public Object getCity() {
                return city;
            }

            public void setCity(Object city) {
                this.city = city;
            }

            public Object getDistrict() {
                return district;
            }

            public void setDistrict(Object district) {
                this.district = district;
            }

            public String getDetailAddress() {
                return detailAddress;
            }

            public void setDetailAddress(String detailAddress) {
                this.detailAddress = detailAddress;
            }

            public String getPhoneNumber() {
                return phoneNumber;
            }

            public void setPhoneNumber(String phoneNumber) {
                this.phoneNumber = phoneNumber;
            }

            public String getQq() {
                return qq;
            }

            public void setQq(String qq) {
                this.qq = qq;
            }

            public String getWechat() {
                return wechat;
            }

            public void setWechat(String wechat) {
                this.wechat = wechat;
            }

            public String getHxQueueName() {
                return hxQueueName;
            }

            public void setHxQueueName(String hxQueueName) {
                this.hxQueueName = hxQueueName;
            }

            public String getHxQueueIm() {
                return hxQueueIm;
            }

            public void setHxQueueIm(String hxQueueIm) {
                this.hxQueueIm = hxQueueIm;
            }

            public String getSerKey() {
                return serKey;
            }

            public void setSerKey(String serKey) {
                this.serKey = serKey;
            }

            public String getSerAccount() {
                return serAccount;
            }

            public void setSerAccount(String serAccount) {
                this.serAccount = serAccount;
            }
        }

        public static class CommodityAttrBean {
            /**
             * priceId : 6711
             * attrDesc : [{"attrKey":"型号","attrValue":"20#/10颗  6*6mm"}]
             * commodityPrice : 700
             * discount : 700
             * attrValueList : [{"attrKey":"型号","attrValue":"20#/10颗  6*6mm"}]
             */

            private int priceId;
            private String attrDesc;
            private int commodityPrice;
            private int discount;
            private List<AttrValueListBean> attrValueList;

            public int getPriceId() {
                return priceId;
            }

            public void setPriceId(int priceId) {
                this.priceId = priceId;
            }

            public String getAttrDesc() {
                return attrDesc;
            }

            public void setAttrDesc(String attrDesc) {
                this.attrDesc = attrDesc;
            }

            public int getCommodityPrice() {
                return commodityPrice;
            }

            public void setCommodityPrice(int commodityPrice) {
                this.commodityPrice = commodityPrice;
            }

            public int getDiscount() {
                return discount;
            }

            public void setDiscount(int discount) {
                this.discount = discount;
            }

            public List<AttrValueListBean> getAttrValueList() {
                return attrValueList;
            }

            public void setAttrValueList(List<AttrValueListBean> attrValueList) {
                this.attrValueList = attrValueList;
            }

            public static class AttrValueListBean {
                /**
                 * attrKey : 型号
                 * attrValue : 20#/10颗  6*6mm
                 */

                private String attrKey;
                private String attrValue;

                public String getAttrKey() {
                    return attrKey;
                }

                public void setAttrKey(String attrKey) {
                    this.attrKey = attrKey;
                }

                public String getAttrValue() {
                    return attrValue;
                }

                public void setAttrValue(String attrValue) {
                    this.attrValue = attrValue;
                }
            }
        }

        public static class RelatedListBean {
            /**
             * commodityId : 811
             * commodityName : 施华洛世奇 子午蓝 平底钻
             * commodityIcon : http://pic.yilos.com/images/000/000/009/201607/577b4af9ae2e0.jpg
             * maxDiscount : 1000
             * minDiscount : 700
             */

            private int commodityId;
            private String commodityName;
            private String commodityIcon;
            private int maxDiscount;
            private int minDiscount;

            public int getCommodityId() {
                return commodityId;
            }

            public void setCommodityId(int commodityId) {
                this.commodityId = commodityId;
            }

            public String getCommodityName() {
                return commodityName;
            }

            public void setCommodityName(String commodityName) {
                this.commodityName = commodityName;
            }

            public String getCommodityIcon() {
                return commodityIcon;
            }

            public void setCommodityIcon(String commodityIcon) {
                this.commodityIcon = commodityIcon;
            }

            public int getMaxDiscount() {
                return maxDiscount;
            }

            public void setMaxDiscount(int maxDiscount) {
                this.maxDiscount = maxDiscount;
            }

            public int getMinDiscount() {
                return minDiscount;
            }

            public void setMinDiscount(int minDiscount) {
                this.minDiscount = minDiscount;
            }
        }
    }
}
